package com.beans;

import java.io.Serializable;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import model.Movie;

import com.services.MoviesService;

@ManagedBean(name = "movieBean")
@SessionScoped
public class MovieBean implements Serializable {

	@EJB
	MoviesService service;

	private Movie movie;
	
	public Movie getMovie() {
		return movie;
	}

	public void setMovie(Movie movie) {
		this.movie = movie;
	}
	
}
